package com.mx.project.common.exception;

public enum CodeEnum {

	ILLEGAL_TOKEN(110000,"非法token！"),
	EXPIRE_TOKEN(110001,"token已经过期！"),
	TOKEN_IS_EMPTY(110002,"Token 不能为空");
	
	CodeEnum(Integer code, String msg){
		this.code = code;
		this.msg = msg;
	}
	private Integer code;
	private String msg;
	
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
}
